package com.wwmz.pattern.singleton.job;

/**
 * Created by wumz on 2020/9/17 15:51
 */
public class JobExectorThread implements Runnable {

    private static final String clazzName = JobContainerSingleton.class.getName();
//    private static final String clazzName = "com.wwmz.pattern.singleton.job.JobContainerSingleton";

    @Override
    public void run() {
        Object bean = JobContainerSingleton.getBean(clazzName);
        System.out.println(Thread.currentThread().getName() + ":" + bean);
    }
}
